package org.scboy.dbms.service.imp;

import java.util.List;

import org.scboy.coobi.sql.factory.EntityFactory;
import org.scboy.dbms.dao.BaseValidClassDao;
import org.scboy.dbms.service.ValidClassService;
import org.scboy.utils.entitys.coobi.Model;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ValidClassServiceImpl implements ValidClassService {

	@Autowired
	EntityFactory factory;
	
	/**
	 * 验证类列表
	 * @return
	 */
	public List<Model> list(){
		BaseValidClassDao dao=factory.getDao(BaseValidClassDao.class);
		return dao.select(Model.create());
	}
}
